Skip to main content
Skip to main content

Tire Track

addTrackPoint

Description

Adds a tire track position

Definition

addTrackPoint(entityId tyreTrackSystem, integer trackId, float x, float y, float z, float ux, float uy, float uz, float r, float g, float b, float a, float bumpiness, float dTheta, boolean terrainOnly, float colorBlendWithTerrain)

Arguments

entityIdtyreTrackSystemtyreTrackSystem
integertrackIdtrackId
floatxx coordinate
floatyy coordinate
floatzz coordinate
floatuxup direction x
floatuyup direction y
floatuzup direction z
floatrred
floatggreen
floatbblue
floataalpha
floatbumpiness
floatdThetawheel dTheta/dT (used to determine forward/backward motion of wheel)
booleanterrainOnlyomit from geometry (only render on terrain)
floatcolorBlendWithTerraindefines how the color should be blended with the terrain (0:100% terrain color, 1:0% terrain color)